Skip to content

Conversation

@wmvanvliet
Copy link
Contributor

@wmvanvliet wmvanvliet commented Jan 15, 2026

mne.sys_info uses powershell in Windows to query memory and CPU.
The newer (version 7+) powershell executable is called pwsh instead of powershell. My Windows11 system no longer seems to have the old one. This PR adds compatibility so it works for all versions.

Copy link
Member

@drammock drammock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diff looks good. To verify it works, I checked and couldn't find a CI that uses windows and was previously showing total memory of 0 and is now giving a real number; CIs all seem to be windows 10 / windows server 10. So we'll have to take your word for it @wmvanvliet

@wmvanvliet
Copy link
Contributor Author

loads of CI failures, that doesn't look good 🤔

@drammock
Copy link
Member

loads of CI failures, that doesn't look good 🤔

most are a numpy deprecation, I've just opened #13594 to address

@larsoner
Copy link
Member

Nice, thanks @wmvanvliet !

@larsoner larsoner merged commit ae887e5 into mne-tools:main Jan 16, 2026
29 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants